Skip to content

Conversation

@williammartin
Copy link
Collaborator

Description

Hopefully takes a small step towards addressing complaints that this tool is incorrectly called when models are trying to adjust local files.

Copilot AI review requested due to automatic review settings May 20, 2025 18:15
@williammartin williammartin requested a review from a team as a code owner May 20, 2025 18:15
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR refines the description of the create_or_update_file tool to better distinguish between remote and local file operations.

  • Clarifies that the tool is intended for remote file creation or updates only.
  • Warns against using the tool for purely local file edits.

@JoannaaKL JoannaaKL merged commit 20afb0f into main Jun 24, 2025
16 checks passed
@JoannaaKL JoannaaKL deleted the wm/adjust-create-update-file-desc branch June 24, 2025 12:53
nickytonline pushed a commit to nickytonline/github-mcp-http that referenced this pull request Oct 4, 2025
…ection (github#419)

* Adjust create_or_update_file description to try avoid incorrect selection

* Update pkg/github/repositories.go

Co-authored-by: Copilot <[email protected]>

---------

Co-authored-by: Copilot <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants